In a module, is it possible to configure the "Setup for Sharing..." (Tools | Setup for Sharing... | Make editable sections at level: 4 | OK) with DXL code?
|
Re: Setup for Sharing with DXL This File: C:\Program Files\IBM\Rational\DOORS\9.2\lib\dxl\standard\tools\sharing.dxl with a file that does what you want; no doubt after renaming the existing file to perhaps 'sharing_Original.dxl'. I dislike making that kind of change; just write your own and put it in the User menu.
|
Re: Setup for Sharing with DXL llandale - Mon Jan 25 13:50:31 EST 2010
|
Re: Setup for Sharing with DXL Boilermaker Jonny - Tue Feb 02 15:40:41 EST 2010 There are probably just 3 options for sharing: //1. Use the canned dxl provided with DOORS. //2. Use a custom dxl. //3. Throught the GUI change the permissions on the object to implement sharing (Possible but probably not practical.) |
Re: Setup for Sharing with DXL doors36677 - Tue Feb 02 16:47:18 EST 2010 There are probably just 3 options for sharing: //1. Use the canned dxl provided with DOORS. //2. Use a custom dxl. //3. Throught the GUI change the permissions on the object to implement sharing (Possible but probably not practical.) |
Re: Setup for Sharing with DXL Boilermaker Jonny - Tue Feb 02 18:34:11 EST 2010 The DXL behind is simple, the two perms "specific(Object obj)" and "inherited(Object obj)" create and remove shareable sections. Regards, Peter Attachments attachment_14431814_setShare.dxl |
Re: Setup for Sharing with DXL for obj in entire current Module do { |
Re: Setup for Sharing with DXL Mathias Mamsch - Fri Feb 05 06:04:08 EST 2010
argh ... don't press "tab" and then "space" when you edit your post and type in code :-)
Object obj
for obj in entire current module do {
if (level obj == 4) specific obj else inherited obj
}
|
Re: Setup for Sharing with DXL Mathias Mamsch - Fri Feb 05 06:05:49 EST 2010
argh ... don't press "tab" and then "space" when you edit your post and type in code :-)
Object obj
for obj in entire current module do {
if (level obj == 4) specific obj else inherited obj
}
|
Re: Setup for Sharing with DXL llandale - Fri Feb 05 17:59:24 EST 2010
Hey Louie!
Can I so kindly bring this post back from the grave?
I follow the simple script from above, but in regards to your comment about Table/Row/Cell objects, you lost me. are you saying as a personal preference that you wouldn't want to include table cells in this shareable access option? or is that more of a statement on how you would want to setup your module before running this script?
I ran it and it seemed to do the trick, but my modules have thousands upon thousands of objects and tables, and just want to know if I need to append this script with something, or if this script does the same as the Tools>Setup for Sharing button and selecting (in this case) level 4.
Best Regards |